<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" name="referrer" id="meta" content="default">
    <script type="text/javascript" src="/lib/haha/core/start.js"></script>
    <link rel="stylesheet" href="/CSS/index.css">
    <link rel="stylesheet" href="/CSS/jquery.slideBox.css">
    <link rel="stylesheet" href="/CSS/sjgd.css">
    <meta name="referrer" content="no-referrer" />

  <meta name="referrer" content="never">

  <meta name="referrer" content="same-origin" />
  <!-- <meta http-equiv="Content-Security-Policy" content="default-src https:"> -->
  <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> -->
</head>

<body>
    <div id="header"></div>
    <!-- 大图 -->
    <div class="indexbox">
        <!--检索框-->
        <div class="search">
            <div class="search-input flex">
                <div style="background-image: url('/image/index/bg_search.png');background-repeat: no-repeat;">
                    <div class="option">
                        <select name="" id="indexTheam" class="borderNone">
                            <script id="selectArr" type="text/html">
                                        <option value="{{:#data['value']}}">{{:#data['text']}}</option>
                                    </script>
                        </select>
                    </div>
                    <input class="inp-text" type="text" id='searchGo' onkeypress="if (event.keyCode == 13) goSearch();"
                        placeholder="请输入关键词..." />
                </div>
                <span class="similar" id="similar">
                    <script id="indexSearchMention" type="text/html">
                                    <a href="javascript:void(0);" onclick=goShowWord(this)>{{:#data}}</a>
                                    </script>
                </span>
                <!-- <input class="inp-btn1" type="button" value="检索" id='searchTo' /> -->
                <input class="inp-btn2" type="button" value="检索" id="searchTo" />
            </div>
        </div>
        <!--检索框结束-->
        <!--content-->
        <div class="cont-box">
            <!-- 通知公告 -->
            <div class="notice-box overflow">
                <div style="height: 100px;">
                    <script type="text/html" id='systemData1'>
                        <a  class="top" href='/systemAnnouncementDetail.html?data={{:#data["id"]}}'  style="{{:~getTop(#data,#index)}}">{{:#data["title"]}} </a>
                    </script>
                </div>
                <span class="notice">通知</span>
                <!-- 分类切换 -->
                <!-- <ul class="flex tagName" id='noticeClass'>
                    <script type="text/html" id='tagData'>
                    <li class="tag1" data-code="{{:#data['sortCode']}}">{{:#data['sortShowName']}}</li>
                </script>
                </ul> -->
                <div class="overflow">
                    <div id="demo">
                        <div id="indemo">
                            <div id="demo1">
                                <script type="text/html" id='systemData'>
                                <a class="{{:~getNew(#data,#index)}}" href='/systemAnnouncementDetail.html?data={{:#data["id"]}}' title='{{:#data["title"]}}'>{{:#data["title"]}}</a>
                              </script>
                            </div>
                            <div id="demo2"></div>
                        </div>
                    </div>
                    <a class="notice-more" href="/systemAnnouncementList.html">更多>></a>
                </div>
            </div>
            <!--通知公告结束-->
            <div class="cont">
                <div class="title-big flex-between bottom_shadow">
                    <img src="/image/index/rdts_title.png" alt="" style="margin-top: 11px;"><span
                        id='newsMore'>更多+</span>
                </div>
                <div class="cont-1 overflow flex-between">
                    <div id="demo3" class="slideBox">
                        <ul class="items">
                            <script id='bannerImg' type="text/html">
                            <li>
                                <a href="/resourseDetail.html?sysId={{:#data['id']}}&type=1&tableCode={{:#data['tableCode']}}"  data-id='{{:#data["id"]}}' title='{{:#data["title"]}}'><img src='{{:#data["coverAddress"]}}'
                                        alt="" /></a>
                            </li>
                        </script>
                        </ul>
                    </div>
                    <div class="common1-box">
                        <div class="qbzx-title">
                            <ul id='newsBox' class="flex-start">
                                <script id='newsMenu' type="text/html">
                                    {{for data}}
                                    <li class="ejbt" data-code='{{:#data["code"]}}' data-sysId='{{:#data["sysId"]}}' title="{{:#data['name']}}" ><a>{{:#data["name"]}}</a></li>
                                    {{/for}}
                                    <li></li>
                                </script>
                            </ul>
                        </div>
                        <div class="qbzx-cont1 qbzx-cur">
                            <ul>
                                <script type="text/html" id='newsData'>
                                   
                                <li class="overflow"  data-id='{{:#data["sysId"]}}' data-dataSources='{{:#data["dataSources"]}}' title='{{:#data["title"]}}'> <a href="/resourseDetail.html?sysId={{:#data['sysId']}}&type=1&tableCode={{:#data['tableCode']}}">&nbsp&nbsp {{:#data["title"]}}</a>
                                    <span>{{:~getData(#data,#index)}}</span>
                                </li>
                         
                                </script>
                            </ul>
                        </div>
                    </div>
                </div>
                <a href="https://www.cnki.net" target="_blank"><img src="/image/index/enter_CNKI.png" alt=""
                        style="margin: 14px 0;"></a>
                <div class="cont-2">
                    <div style=" box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.06);border: 1px solid #F8D070;">
                        <!-- cnki资源 -->
                        <div class="title-big orange bottom_shadow flex-start" style="margin-top: 0px;">
                            <img src="/image/index/CNKI_title.png" alt="" style="margin-top: 12px;">
                            <ul class="cnkiTop flex" id="cnkiTop1">
                                <script type="text/html" id="cnkiTop">
                                <li data-code='{{:#data["code"]}}' class="one" data-name='{{:#data["name"]}}'>{{:#data["name"]}}</li>
                            </script>
                            </ul>
                            <div class="cnkigj"> <a href="http://11.89.144.158/kns/brief/result.aspx?dbprefix=SYSTZK" title="" class="onem">高级检索</a></div>
                        </div>
                        <div class="flex-wrap" id="cnkiPart">
                            <script type="text/html" id="cnkiData">
                                <div style="position: relative;" class="one {{:~child(#data,#index)}}">
                                <p><span class="text" data-code="{{:#data[0]}}" data-title="{{:#data[1]}}" ></title>{{:#data[1]}}</span></p>
                                    <div class="twoClassify flex-wrap">
                                        {{for #data[2]}}
                                        <div class="two {{:~child(#data,#index)}}" style="position: relative;">
                                    <p><span class="text" data-code="{{:#data[0]}}">{{:#data[1]}}</span></p>
                                    <div class="twoClassify left flex-wrap">
                                        {{for #data[2]}}
                                        <div style="position: relative;" class="three">
                                    <p><span class="text" data-code="{{:#data[0]}}">{{:#data[1]}}</span></p>
                                       </div>
                                    {{/for}}
                                        </div>
                                       </div>
                                    {{/for}}
                                </div>
                                </div>
                            </script>

                        </div>

                    </div>
                    <div class="flex-w-b" id="wbzy">
                        <!-- 勘探技术 -->
                        <div class="cont-3 overflow">
                            <div class="title-small border-line">勘探技术</div>
                            <div class="common2-box">
                                <div class="qbzx-cont4 qbzx-cur">
                                    <div class="ktbox" data-edit='y'>
                                        <!--<script type="text/javascript" data-fn="b7da37aa-c5cb-47bc-8256-b73ce7e60207"></script>-->
                                        <script type='text/javascript'
                                            data-fn='723ee5e7-4066-46f4-b50a-165fcdbee183'></script>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <!-- 开发技术 -->
                        <div class="cont-3 overflow">
                            <div class="title-small border-line">开发技术</div>
                            <div class="common2-box" style="min-height: 355px;">
                                <div class="qbzx-cont4 qbzx-cur">
                                    <!-- 黄色区域提示
                                    <ul class="yellowPart" id="fourPart2">
                                        <li class="show" data-value="石油与天然气开发">石油与天然气开发<i></i></li>
                                        <li data-value="非常规油气开发">非常规油气开发<i></i></li>
                                        <li data-value="天然气水合物开发">天然气水合物开发<i></i></li>
                                    </ul>
                                    <ul id="kfjsBox">
                                        <script type="text/html" id='fourPartData2'>
                                        <li class="overflow"> <img src="/image/index/circle.png" />
                                            <a class="title" 
                                                data-filename='{{:#data["fileName"]}}'
                                                data-dbsource='{{:#data["dbsource"]}}'
                                                data-tableName='{{:#data["outTableName"]}}'
                                                data-title='{{:#data["title"]}}' title='{{:#data["title"]}}'>&nbsp&nbsp
                                                {{:#data["title"]}}</a><span>{{:~getData(#data,#index)}}</span>
                                        </li>
                                    </script>
                                    </ul> -->
                                    <div class="ktbox" data-edit='y'>
                                        <script type='text/javascript'
                                            data-fn='0bf29049-72a9-4f8f-a672-0040e8221dfa'></script>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <!-- 工程技术 -->
                        <div class="cont-3 overflow">
                            <div class="title-small border-line">工程技术</div>
                            <div class="common2-box" style="min-height: 355px;">
                                <div class="qbzx-cont4 qbzx-cur">
                                    <div class="ktbox" data-edit='y'>
                                        <script type='text/javascript'
                                            data-fn='4114cd9a-5aa9-4304-965d-c5502d9587e5'></script>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- 炼油技术 -->
                        <div class="cont-3 overflow">
                            <div class="title-small border-line">炼油技术</div>
                            <div class="common2-box" style="min-height: 355px;">
                                <div class="qbzx-cont4 qbzx-cur">
                                    <div class="ktbox" data-edit='y'>
                                        <script type='text/javascript'
                                            data-fn='75179ee8-780d-4927-bc99-5f1f6c908189'></script>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- <a href="http://cajviewer.cnki.net/" target="_blank"><img src="/image/index/enter_CAJVIEWER.png"
                            alt="" style="margin: 14px 0;"></a> -->
                    <div class="title-big orange bottom_shadow" style="margin-top: 10px;">
                        <img src="/image/index/zsfw_title.png" alt="" style="margin-top: 12px;">
                    </div>
                    <div class="flex-between">

                        <div class="cont-3 overflow">
                            <div class="title-small bottom_shadow">科研档案<span id='kyMore'>更多+</span></div>
                            <div class="common2-box">
                                <div class="qbzx-title zs">
                                    <ul id='kyBox' class="flex-start" style="position: absolute;bottom: -1px;">
                                        <script id='kyMenu' type="text/html">
                                            {{for data}}
                                            <li class="ejbt" data-code='{{:#data["code"]}}' data-sysId='{{:#data["sysId"]}}'  title="{{:#data['name']}}"><a>{{:#data["name"]}}</a></li>
                                            {{/for}}
                                            <li></li>
                                        </script>
                                    </ul>
                                </div>
                                <div class="qbzx-cont3 qbzx-cur" style="margin-top: 20px;">
                                    <ul id="kyDataBox">
                                        <script type="text/html" id='kyData'>
                                            <li class="overflow">     <img src="/image/index/circle.png" />
                                                <a class="title"  data-tablename='{{:#data["tableCode"]}}' data-dbname='{{:#data["dataSource"]}}' data-sysid='{{:#data["sysId"]}}'  data-filename='{{:#data["fileName"]}}'   data-title='{{:#data["title"]}}' title='{{:#data["title"]}}'>&nbsp&nbsp {{:#data["title"]}}</a>
                                                <span>{{:~getData(#data,#index)}}</span>
                                            </li>
                                        </script>
                                    </ul>
                                </div>

                            </div>
                        </div>
                        <div class="cont-3 overflow">
                            <div class="title-small border-line">外文原刊<span id='wwMore'>更多+</span></div>
                            <div class="common2-box">
                                <div class="qbzx-cont4 qbzx-cur">
                                    <ul id="wwBox">
                                        <script id='wwsjData' type="text/html">
                                            <li class="overflow">    <img src="/image/index/circle.png" />
                                                <a class="title" data-sysid='{{:#data["sysId"]}}'  data-filename='{{:#data["fileName"]}}' data-dbname='{{:#data["dataSource"]}}' data-tablename='{{:#data["tableCode"]}}' data-title='{{:#data["title"]}}' title='{{:#data["title"]}}'>&nbsp&nbsp {{:#data["title"]}}</a><span>{{:~getData(#data,#index)}}</span>
                                            </li>
                                        </script>
                                    </ul>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
                <!-- 科技情报 -->
                <div class="cont-2">
                    <div class="title-big flex-between pink bottom_shadow">
                        <img src="/image/index/kjqb_title.png" alt="" style="margin-top: 8px;">
                    </div>
                    <div class="kjBox" style="position: relative;">
                        <!-- 菜单栏 -->
                        <div class="flex-between">
                            <ul id='kjSelect' class="flex-start">
                                <script id='kjFirstData' type="text/html">
                                <li class="check" data-code='{{:#data["code"]}}' data-sysId='{{:#data["sysid"]}}'
                                    title="{{:#data['name']}}">{{:#data['name']}}</li>
                                </script>
                            </ul>
                            <!--数据 -->
                            <span class="more" id="kjMore">更多+</span>
                        </div>
                        <ul class="dataList flex-w-s" id="kjqbBox">
                            <script id='kjListData' type="text/html">
                            <li>
                                <p class="title"  title="{{:#data['name']}}"  data-sysId='{{:#data["sysid"]}}'>
                                    {{:#data['name']}}</p>
                            </li>
                         </script>
                        </ul>
                        <span class="more" style="position: absolute;bottom:6px;right: 23%;display: none;"
                            id="kjqbMore">更多>></span>
                    </div>
                </div>
                <!-- 结束 -->
                <div class="cont-4">
                    <div class="title-big green bottom_shadow"><img src="/image/index/zxzy_title.png" alt=""
                            style="margin-top: 12px;"></div>
                    <!-- 数据 -->
                    <div class="box-shadow">
                        <div id="ISL_Cont_2" style='overflow:hidden;margin: 0px 12px;'>
                            <div style='display:flex;'>
                                <ul class="zyBox flex-between" id="List2_1">
                                    <li class="shew" data-url="https://www.onepetro.org/" data-title="OnePetro"><img
                                            src="/image/index/bg_online_resources1.png" alt=""><span
                                            class="name">OnePetro</span>
                                        <div class="box"></div>
                                        <div class="acount">
                                            <p>用户名：sy202002cz</p>
                                            <p></p>
                                        </div>
                                    </li>
                                    <li class="shew" data-url="https://library.seg.org" data-title="SEG"><img
                                            src="/image/index/bg_SEG.png" alt=""><span class="name">SEG</span>
                                        <div class="box" data-url="https://library.seg.org/"></div>
                                        <div class="acount">
                                            <!-- <p>用户名：sy202002cz</p> -->
                                           <!--  <p>密码：cnki2021</p> -->
                                        </div>
                                    </li>
                                    <li class="shew" data-url="https://ref.cnki.net/ref" data-title="中国引文数据库"><img
                                            src="/image/index/bg_online_resources2.png" alt=""><span
                                            class="name">中国引文数据库</span>
                                        <div class="box"></div>
                                        <div class="acount">
                                            <p>用户名：sy202002cz</p>
                                           <!--  <p>密码：cnki2021</p> -->
                                        </div>
                                    </li>
                                    <li class="shew" data-url="http://tsg.cnpc.yooso.com.cn/" data-title="石油数字图书馆"><img
                                            src="/image/index/bg_online_resources3.png" alt=""><span
                                            class="name">石油数字图书馆</span>
                                        <div class="box"></div>
                                        <div class="acount">
                                            <p></p>
                                            <p></p>
                                        </div>
                                    </li>
                                    <li class="shew" data-url="http://kaifa.cnpc.yooso.com.cn/"
                                        data-title="油气开发知识库"><img src="/image/index/bg_online_resources4.png"
                                            alt=""><span class="name">油气开发知识库</span>
                                        <div class="box"></div>
                                    </li>
                                    <li class="shew" data-url="http://www.drcnet.com.cn/" data-title="国研网"><img
                                            src="/image/index/bg_online_resources5.png" alt=""><span
                                            class="name">国研网</span>
                                        <div class="box"></div>
                                        <div class="acount">
                                            <p>用户名：西南油气田</p>
                                           <!--  <p>密码：sc0544</p> -->
                                        </div>
                                    </li>
                                    <li class="shew" data-url="http://www.oilmsg.com/" data-title="油品信息网"><img
                                            src="/image/index/bg_online_resources6.png" alt=""><span
                                            class="name">油品信息网</span>
                                        <div class="box"></div>
                                        <div class="acount">
                                            <p>用户名：xnyqt</p>
                                           <!-- <p>密码：601242</p> -->
                                        </div>
                                    </li>
                                    <!-- <li class="shew" data-url="https://11.89.24.30/" data-title="勘研院图书馆"><img
                                            src="/image/index/bg_online_resources7.png" alt=""><span
                                            class="name">勘研院图书馆</span>
                                        <div class="box"></div>
                                        <div class="acount">
                                            <p></p>
                                            <p></p>
                                        </div>
                                    </li> -->
                                    <li class="shew" data-url="http://10.22.120.177/km/front/standard/index.jsp" data-title="石油工业标准查询系统"><img
                                        src="/image/index/sygybz.png" alt=""><span
                                        class="name shew1">石油工业标准查询系统</span>
                                    <div class="box"></div>
                                    <div class="acount">
                                        <p>首次使用请注册</p>
                                        <p>注册审核通过后</p>
                                        <p>即可下载资源</p>
                                    </div>

                                    <li class="shew" data-url="http://www.riped.petrochina/riped/gzdt/Pages/index.aspx" data-title="石油科技与信息话工作动态"><img
                                        src="/image/index/bg_kjds.png" alt=""><span
                                        class="name shew2">石油科技与信息化工作动态</span>
                                    <div class="box"></div>
                                    <div class="acount">
                                       
                                    </div>

                                  

                                </li>
                                </ul>
                                <ul id="List2_2" class="zyBox flex-between"></ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cont-4">
                    <div class="title-big blue flex-between bottom_shadow"><img src="/image/index/qkyl_title.png" alt=""
                            style="margin-top: 12px;"><span id='readMore'>更多+</span></div>
                    <div class="blk_18 box-shadow">
                        <div class="pcont" id="ISL_Cont_1" style='overflow:hidden;'>
                            <div class="ScrCont" style='display:flex;'>
                                <div id="List1_1" class="flex">
                                    <div class="pl flex-c-j title" data-url='/periodical.html' data-title="天然气勘探开发动态">
                                        <img src="/image/index/book-1.png" class="title" />
                                        <span class="title">《天然气勘探开发动态》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='http://www.gaskk.com/'
                                        data-title="天然气勘探与开发">
                                        <img src="/image/index/gaskk.jpg" class="title" />
                                        <span class="title">《天然气勘探与开发》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='http://www.cngascn.com/'
                                        data-title="天然气工业">
                                        <img src="/image/index/cngascn.jpg" class="title" />
                                        <span class="title">《天然气工业》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='http://www.trqjszz.com/'
                                        data-title="天然气技术与经济">
                                        <img src="/image/index/trqjsjj.jpg" class="title" />
                                        <span class="title">《天然气技术与经济》</span>
                                    </div>
                                    <div class="pl flex-c-j title"
                                        data-url='http://www.zcgyzz.com/CN/volumn/current.shtml' data-title="钻采工艺">
                                        <img src="/image/index/zc.jpg" class="title" />
                                        <span class="title">《钻采工艺》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='http://www.syytrqhg.cn/ch/index.aspx'
                                        data-title="石油与天然气化工">
                                        <img src="/image/index/sytrqhg.jpg" class="title" />
                                        <span class="title">《石油与天然气化工》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='https://www.cnpc-ngo.com/index.aspx'
                                        data-title="天然气与石油">
                                        <img src="/image/index/trqsy.jpg" class="title" />
                                        <span class="title">《天然气与石油》</span>
                                    </div>
                                    <div class="pl flex-c-j title"
                                        data-url='http://www.syxb-cps.com.cn/CN/0253-2697/home.shtml'
                                        data-title="天然气与石油">
                                        <img src="/image/index/book-8.png" class="title" />
                                        <span class="title">《石油学报》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='http://www.cpedm.com/index.html'
                                        data-title="天然气与石油">
                                        <img src="/image/index/book-9.png" class="title" />
                                        <span class="title">《石油勘探与开发》</span>
                                    </div>
                                    <div class="pl flex-c-j title" data-url='https://www.yfabiao.com/zgsykt'
                                        data-title="天然气与石油">
                                        <img src="/image/index/book-10.png" class="title" />
                                        <span class="title"> 《中国石油勘探》</span>
                                    </div>
                                    <div class="pl flex-c-j title"
                                        data-url='http://www.zgxjpg.com/CN/1001-3873/home.shtml' data-title="天然气与石油">
                                        <img src="/image/index/book-11.png" class="title" />
                                        <span class="title">《新疆石油地质》</span>
                                    </div>
                                    <div class="pl flex-c-j title"
                                        data-url='http://yqdzycsl.cnjournals.com/pgre/ch/index.aspx'
                                        data-title="天然气与石油">
                                        <img src="/image/index/book-12.png" class="title" />
                                        <span class="title">《油气地质与采收率》</span>
                                    </div>
                                </div>
                                <div id="List1_2" class="flex"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 脚部 -->
            <div id="footer"></div>
        </div>
    </div>
    <!-- 固定手册 -->
    <div class="leftNotice">
        <div class="flex-start-start"><span
                class="mention">员工保密提示：</span><span>严禁将涉密资料和敏感信息上传至互联网</span><span>严禁将涉密资料和敏感信息发往外网邮箱</span><span>严禁使用非内网邮箱发送和接收工作资料</span>
        </div><span class="circle"></span>
    </div>
    <div class="rightNotice">
        <div class="right1_Notice flex--j-c"><a class="bottom" href="/image/用户使用手册.pdf">用户使用手册</a>
            <!-- <span class="circle"></span> -->
            </div>
            <div class="right3_Notice flex--j-c"><a class="bottom" href="/szs.html">证书安装</a>
                <!-- <span class="circle"></span> -->
                </div>
    </div> 
    <div class="notice2">资源查询密码，请咨询212702<div>内部资料，仅供员工使用</div></div>
    

    <script type="text/javascript" src="/lib/layer-v3.1.1/layer/layer.js"></script>
    <script src="/lib/layui/layui.js"></script>
    <script src="/js/jquery.slideBox.js"></script>
    <script src="/js/pageinit.js" type="text/javascript"></script>
    <script src="js/paomadeng.js"></script>
    <script type="text/javascript">
        shared.useLayout("act-1");
        // 回车检索
        var urlData = {};
        function goSearch() {
            urlData.adv = false;
            getUrlData();

        }
        function getUrlData() {
            //输入框的值
            urlData.searchStr = $('#searchGo').val();
            //主题
            urlData.searchTheam = $("#indexTheam").find("option:selected").val();
            // 存关键词
            window.location = 'knowledge.html?data=' + encodeURIComponent(JSON.stringify(urlData));
        }
        $(function () {
            $('.contsPop').mouseenter(function (e) {
                $(this).css({ opacity: '1', transition: 'all 1s' });
            })
            $('.contsPop').mouseleave(function (e) {
                $(this).css({ opacity: '0', transition: 'all 1s' });
            })
            $('.contsPop').click(function () {
                window.open('https://www.cnki.net/')
            })
            $('.circle').click(function (e) {
                $(this).parents('div').hide();
            })
            // 在线资源
            $('#ISL_Cont_2').mousemove(function (e) {
                if ($(e.target).hasClass('shew')) {
                    $(e.target).children('.name').css({ opacity: '0', 'transition': 'all 0.5s' });
                    $(e.target).children('.box').css({ opacity: '1', transition: 'all 0.5s' });
                    $(e.target).children('.acount').css({ top: '45%', opacity: '1', transition: 'all 0.7s' });
                }
            })
            // 在线资源
            $('#ISL_Cont_2').mouseleave(function (e) {
                $('#ISL_Cont_2 .name').css({ opacity: '1', transition: 'all 0,5s' });
                $('#ISL_Cont_2 .box').css({ opacity: '0', transition: 'all 0.5s' });
                $('#ISL_Cont_2 .acount').css({ top: '-40px', opacity: '0', transition: 'all 0.7s' });
            })
            $('#ISL_Cont_2').click(function (e) {
                // 记录浏览
                if ($(e.target).hasClass('shew')) {
                    pageData.InsertLog($(e.target).attr('data-url'), '外部资源', $(e.target).attr('data-title'));
                    window.open($(e.target).attr('data-url'));
                }
            })
            // end
            core.useTemplateAuto('selectArr', config.selectArr, {});
            //切换图片
            // 点击检索 将参数带在路由上 跳转
            $('#searchTo').click(function () {
                urlData.adv = false;
                getUrlData();
            })
            // 点击高级检索 
            $('#advSearchTo').click(function () {
                urlData.adv = true;
                getUrlData()
            })
            shared.ajaxGet(config.getPngSource, {}, function callback(res) {
                shared.ajaxPost(config.getCover, { source: res }, function callback(res1) {
                    console.log("bannerImg",res1)
                    core.useTemplateAuto('bannerImg', res1, {})
                    $('#demo3').slideBox({
                        duration: 0.3, //滚动持续时间，单位：秒
                        easing: 'linear', //swing,linear//滚动特效
                        delay: 5, //滚动延迟时间，单位：秒
                        hideClickBar: false, //不自动隐藏点选按键
                        clickBarRadius: 10
                    });
                })
            })

            //情报资讯
            var newsSysId = '';
            // 获取菜单
            shared.ajaxGet(config.getMenue, {}, function callback(res) {
                core.useTemplateAuto('newsMenu', { data: res }, {});
                $('#newsBox li').eq(0).toggleClass('ejbt-1');
                newsSysId = $('#newsBox li').eq(0).attr('data-sysId');
                getNewsData($('#newsBox li').eq(0).attr('data-code'))
            })
            $('#newsBox').click(function (e) {
                $('#newsBox li').each(function (index, item) {
                    if ($(e.target).hasClass('ejbt')) {
                        if ($(e.target).index() == index) {
                            $(e.target).addClass('ejbt-1')
                            getNewsData($(e.target).attr('data-code'))
                            newsSysId = $(e.target).attr('data-sysId');
                        } else {
                            $(item).removeClass('ejbt-1')
                        }
                    }
                })
            })
            $('#newsMore').click(function () {
                //跳转资讯携带参数
                window.open('/news.html?sysId=' + newsSysId)
            })
            function getNewsData(name) {
                shared.ajaxPost(config.getQBZXBySortName, { sort: name, isLimitFive: 0 }, function callback(res) {
                    core.useTemplateAuto('newsData', res, {
                        getData: function (data, index) {
                            return data.grabDate.split(' ')[0].replace('/', '-').replace('/', '-')
                        }
                    })
                })
            }
            //知识服务
            var knowledgeCode = ''
            // core.useTemplateAuto('knowledgeMenu', { data: config.json.index_server }, {})
            $('#knowledge li').eq(0).toggleClass('ejbt-1');
            //情报资讯
            $('#knowledge').click(function (e) {
                $('#knowledge li').each(function (index, item) {
                    if ($(e.target).hasClass('ejbt')) {
                        if ($(e.target).index() == index) {
                            $(e.target).addClass('ejbt-1')
                            knowledgeCode = $(e.target).attr('data-code');
                            getKnowledgeData($(e.target).attr('data-code'))
                        } else {
                            $(item).removeClass('ejbt-1')
                        }
                    }
                })
            })
            knowledgeCode = $('#knowledge li').eq(0).attr('data-code');
            //getKnowledgeData($('#knowledge li').eq(0).attr('data-code'))
            function getKnowledgeData(name) {
                shared.ajaxPost(config.getQBZXByTableName, { outTableName: name, isLimitFive: 0 }, function callback(res) {
                    core.useTemplateAuto('knowledgeData', res, {})
                })
            }
            // 多级列表
            shared.ajaxGet(config.getCNKIResource, {}, function callback(res) {
                core.useTemplateAuto('cnkiTop', config.cnkiTop, {})
                core.useTemplateAuto('cnkiData', res, {
                    child(data, index) {
                        if (data[2] && data[2].length) {
                            return 'nocheck'
                        }
                    }
                })
            })
            $('#cnkiTop1').click(function (e) {
                if ($(e.target).hasClass('one')) {
                    if($(e.target).attr('data-name')=='党建知识'){
                        window.open($(e.target).attr('data-code'))
                    }else{
                        window.open(config.cnkiMore+'?dbprefix='+$(e.target).attr('data-code'))
                    }
                }
            })
            $('#cnkiPart').click(function (e) {
                $('#cnkiPart>div').each(function (index, item) {
                    if ($(e.target).hasClass('nocheck') && $(e.target).hasClass('one')) {
                        if ($(e.target).index() == index) {
                            $(e.target).removeClass('nocheck');
                            $(e.target).addClass('check1')
                            $(e.target).children('.twoClassify').css('display', 'flex');
                        } else {
                            $(item).hasClass('check1') && $(item).addClass('nocheck');
                            $(item).removeClass('check1');
                            $(item).children('.twoClassify').css('display', 'none');
                        }
                    } else if ($(e.target).hasClass('check1') && $(e.target).hasClass('one')) {
                        if ($(e.target).index() == index) {
                            $(e.target).removeClass('check1');
                            $(e.target).addClass('nocheck')
                            $(e.target).children('.twoClassify').css('display', 'none');
                        } else {
                            $(item).hasClass('nocheck') && $(item).addClass('nocheck')
                            $(item).removeClass('check1');
                            $(item).children('.twoClassify').css('display', 'none');
                        }
                    }
                })
                if ($(e.target).hasClass('text')) {
                    // if($(e.target).attr('data-title')=='党建知识'){
                    //     window.open($(e.target).attr('data-code'))
                    // }else{
                    //     pageData.toCnki($(e.target).attr('data-code'));
                    // }
                    pageData.toCnki($(e.target).attr('data-code'));
                }
                else if ($(e.target).hasClass('nocheck') && $(e.target).hasClass('two')) {
                    $(e.target).parent('.twoClassify').children('div').each(function (index, item) {
                        if ($(e.target).index() == index) {
                            $(e.target).removeClass('nocheck');
                            $(e.target).addClass('check1')
                            $(e.target).children('.twoClassify').css('display', 'flex');
                        } else {
                            $(item).hasClass('check1') && $(item).addClass('nocheck');
                            $(item).removeClass('check1');
                            $(item).children('.twoClassify').css('display', 'none');
                        }
                    })

                } else if ($(e.target).hasClass('check1') && $(e.target).hasClass('two')) {
                    $(e.target).parent('.twoClassify').children('div').each(function (index, item) {
                        if ($(e.target).index() == index) {
                            $(e.target).removeClass('check1');
                            $(e.target).addClass('nocheck')
                            $(e.target).children('.twoClassify').css('display', 'none');
                        } else {
                            $(item).hasClass('nocheck') && $(item).addClass('nocheck')
                            $(item).removeClass('check1');
                            $(item).children('.twoClassify').css('display', 'none');
                        }
                    })
                }
            })
            $('#knowledgeMore').click(function () {
                //跳转资讯携带参数
                window.open('knowledge.html?code=' + encodeURIComponent(knowledgeCode));
            })
            // // 期刊阅读
            $('#ISL_Cont_1').click(function (e) {
                if ($(e.target).hasClass('title')) {
                    if ($(e.target).attr('data-url')) {
                        // 记录  
                        pageData.InsertLog($(e.target).attr('data-url'), '外部资源', $(e.target).attr('data-title'));
                        window.open($(e.target).attr('data-url'))
                    }
                }
            })
            //循环滚动播放
            autoSlide();
            function autoSlide() {
                var speed = 20;
                List1_2.innerHTML = List1_1.innerHTML
                function Marquee() {
                    if (List1_2.offsetWidth - ISL_Cont_1.scrollLeft <= 0)
                        ISL_Cont_1.scrollLeft -= List1_1.offsetWidth
                    else {
                        ISL_Cont_1.scrollLeft++
                    }
                }
                var MyMar = setInterval(Marquee, speed)
                ISL_Cont_1.onmouseover = function () { clearInterval(MyMar) }
                ISL_Cont_1.onmouseout = function () { MyMar = setInterval(Marquee, speed) }
            };
            //循环滚动播放
            autoSlide2();
            function autoSlide2() {
                var speed = 20;
                List2_2.innerHTML = List2_1.innerHTML
                function Marquee() {
                    if (List2_2.offsetWidth - ISL_Cont_2.scrollLeft <= 0)
                        ISL_Cont_2.scrollLeft -= List2_1.offsetWidth
                    else {
                        ISL_Cont_2.scrollLeft++
                    }
                }
                var MyMar = setInterval(Marquee, speed)
                ISL_Cont_2.onmouseover = function () { clearInterval(MyMar) }
                ISL_Cont_2.onmouseout = function () { MyMar = setInterval(Marquee, speed) }
            };
            // shared.ajaxGet(config.getQKYD_Index, { page: 1, pageSize: 20 }, function callback(res) {
            //     core.useTemplateAuto('readData', res, {
            //         showImg: function (data, index) {
            //             if (Number(data.sysId) % 2) {
            //                 return '/image/periodical/book.png';
            //             } else {
            //                 return '/image/periodical/book2.png';
            //             }
            //         }, text: function (data, index) {
            //             return base.overflow(data.title, "tempSpan4GetStr", 52)
            //         }
            //     })
            //     // slide();
            // })
            function slide() {
                var i = 5;
                var page = 1;
                var timer = null;
                var jqWidth = $('#ISL_Cont_1').width();
                var page_last = Math.ceil($('#List1_1 div').length / i);
                $('.RightBotton').click(function () {
                    rightMove()
                });

                $('.LeftBotton').click(function () {
                    if (page == 1) {
                        $('.ScrCont').animate({ left: '-=' + jqWidth * (page_last - 1) }, 1000);
                        page = page_last;
                    } else {
                        $('.ScrCont').animate({ left: '+=' + jqWidth }, 3000);
                        page--;
                    };
                });
                function move() {
                    timer = setInterval(function () {
                        rightMove();
                    }, 6000);
                };
                move();
                $('.blk_18').mouseover(function () {
                    clearInterval(timer);
                });
                $('.blk_18').mouseout(function () {
                    move();
                });
                function rightMove() {
                    if (page == page_last) {
                        $('.ScrCont').animate({ left: '0px' }, 1000)
                        page = 1;
                    } else {
                        page++;
                        $('.ScrCont').animate({ left: '-=' + jqWidth }, 3000)

                    };
                };
            }
            $('#readMore').click(function () {
                window.open('https://11.89.144.158/KNavi/cross/navi/SYSTZK')
            })
            // 外文数据

            shared.ajaxGet(config.getWWSJ, { isLimitSix: 0, page: 1, pageSize: 6 }, function callback(res) {
                core.useTemplateAuto('wwsjData', res, {
                    getData: function (data, index) {
                        return data.recordUpdateDate.split(' ')[0];
                    }
                })
            })
            //外文数据跳转
            $('#wwMore').click(function () {
                //跳转资讯携带参数
                // window.open('/knowledge.html?code=油气田外文期刊视图');
                window.open('/researchArchives.html?sysId=油气田外文期刊视图&type=WWSJ&classify=no');
            })
            // 科技
            var kySysId = '';
            // 获取菜单
            shared.ajaxGet(config.getKYDASort, {}, function callback(res) {
                core.useTemplateAuto('kyMenu', { data: res }, {});
                $('#kyBox li').eq(0).toggleClass('ejbt-1');
                kySysId = $('#kyBox li').eq(0).attr('data-sysid');
                getkyData($('#kyBox li').eq(0).attr('data-code'))
            })
            $('#kyBox').click(function (e) {
                $('#kyBox li').each(function (index, item) {
                    if ($(e.target).hasClass('ejbt')) {
                        if ($(e.target).index() == index) {
                            $(e.target).addClass('ejbt-1')
                            getkyData($(e.target).attr('data-code'))
                            kySysId = $(e.target).attr('data-sysid');
                        } else {
                            $(item).removeClass('ejbt-1')
                        }
                    }


                })
            })
            $('#kyDataBox').click(function (e) {
                if ($(e.target).hasClass('title')) {
                    window.open('/resourseDetail.html?sysId=' + $(e.target).attr('data-sysid') + '&type=2&tableCode=' + $(e.target).attr('data-tablename'))
                }
            })
            $('#wwBox').click(function (e) {
                if ($(e.target).hasClass('title')) {
                    window.open('/magazineDetail.html?sysId=' + $(e.target).attr('data-sysid') + '&tableCode=' + $(e.target).attr('data-tablename'))
                }
            });
            $('#kyMore').click(function () {
                //跳转资讯携带参数
                window.open('/researchArchives.html?sysId=' + kySysId + '&type=KYDA&classify=no');
            })
            function getkyData(name) {
                shared.ajaxGet(config.getKYDABySort_Index, { sortCode: name }, function callback(res) {
                    res && res.length && core.useTemplateAuto('kyData', res, {
                        getData: function (data, index) {

                            return data.publishDate.replace('.', '-').replace('.', '-')
                        }
                    })
                })
            }

            var kjqbSysId = '';
            var kyList = [];
            // 获取菜单
            shared.ajaxGet(config.getClsTree, {}, function callback(res) {
                if (res != null && res.length > 0) {
                    for (var i = 0; i < res.length; i++) {
                        if (res[i].child.length > 0) {
                            res[i].child.sort((a, b) => a.name.localeCompare(b.name, 'zh'));
                        }
                    }
                }
                kyList = res;
                core.useTemplateAuto('kjFirstData', res, {});
                $('#kjSelect li').eq(0).toggleClass('check_1');
                kjqbSysId = $('#kjSelect li').eq(0).attr('data-sysid');
                core.useTemplateAuto('kjListData', res[0]['child'], {});
                res[0]['child'] > 18 ? $('#kjqbMore').css('display', 'block') : $('#kjqbMore').css('display', 'none')
            })
            // 科技情报
            $('#kjSelect').click(function (e) {
                $('#kjSelect li').each(function (index, item) {
                    if ($(e.target).hasClass('check')) {
                        if ($(e.target).index() == index) {
                            $('.kjBox').css('min-height', '300px');
                            $(e.target).addClass('check_1')
                            kjqbSysId = $(e.target).attr('data-sysid');
                            kyList[$(e.target).index()]['child'].length > 18 ? $('#kjqbMore').css('display', 'block') : $('#kjqbMore').css('display', 'none')
                            core.useTemplateAuto('kjListData', kyList[$(e.target).index()]['child'], {});
                        } else {
                            $(item).removeClass('check_1')
                        }
                    }


                })
            })
            $('#kjqbBox').click(function (e) {
                if ($(e.target).hasClass('title')) {
                    window.open('/researchArchives.html?sysId=' + $(e.target).attr('data-sysid') + '&type=KJQB&classify=yes')
                }
            })
            $('#kjMore').click(function (e) {
            window.open('/researchArchives.html?sysId=' + kjqbSysId + '&type=KJQB&classify=no');
            })
            //科技情报点击展开
            $('#kjqbMore').click(function (e) {
                $('.kjBox').css('height', 'unset');
                $('.kjBox').css('overflow', 'hidden')
                $('#kjqbMore').css('display', 'none')
            })
            // 点击检索 将参数带在路由上 跳转
            $('#searchTo').click(function () {
                urlData.adv = false;
                getUrlData();
            })
            // 点击高级检索 
            $('#advSearchTo').click(function () {
                urlData.adv = true;
                getUrlData()
            })
            var timer;
            $('#similar').css('display', 'none');
            // 屏蔽掉拼音输入过程中会高频请求后台数据库
            var cpLock = true;
            $('#searchGo').on('compositionstart', function () {
                cpLock = false;
            });
            $('#searchGo').on('compositionend', function () {
                cpLock = true;
            });
            $('#searchGo').bind('input propertychange', function () {
                //获取input 元素,并实时监听用户输入
                //逻辑 如果输入框有值才调取 排除空格
                if (!$('#searchGo').val().replace(/\s/ig, '')) {
                    timer = setTimeout(function () {
                        if (cpLock) {
                            if (cpLock) {
                                // getSearchMention('');
                            }
                        }
                    }, 2000)
                } else {
                    timer = setTimeout(function () {
                        if (cpLock) {
                            if (cpLock) {
                                getSearchMention($('#searchGo').val());
                            }
                        }
                    }, 2000)
                }
            })
            //失去焦点
            $('#searchGo').blur('input propertychange', function () {
                //延迟关闭
                setTimeout(function () {
                    // input框失去焦点，隐藏下拉框
                    $('#similar').css('display', 'none');
                }, 200);
            })
            //获取焦点
            $('#searchGo').focus('input propertychange', function () {
                if (!$('#searchGo').val().replace(/\s/ig, '')) {
                    // getSearchMention('');
                }
            })
            // 获取搜索提示词
            function getSearchMention(keyWords) {
                shared.ajaxPost(config.searchMention, { inputWord: keyWords }, function (res) {
                    clearTimeout(timer);
                    //如果搜索出来的值为空
                    if (res && res.length) {
                        $('#similar').css('display', 'block');

                        core.useTemplateAuto('indexSearchMention', res, {});
                    } else {
                        $('#similar').css('display', 'none');
                    }
                })
            };
            //通知公告获取类  
            // $('#noticeClass').click(function (e) {
            //     $('#noticeClass li').each(function (index, item) {
            //         if ($(e.target).hasClass('tag1')) {
            //             if ($(e.target).index() == index) {
            //                 $(e.target).toggleClass('tag')
            //                 clearInterval(MyMar);
            //                 showIndexPageSystemNotice()
            //             } else {
            //                 $(item).removeClass('tag')
            //             }
            //         }
            //     })
            // })
            // shared.ajaxGet(config.getNoticeSort, {}, function (res) {
            //     core.useTemplateAuto('tagData', res, {});
            //     $('#noticeClass li').eq(0).toggleClass('tag');
            // })
            showIndexPageSystemNotice()
            var MyMar = '';
            function showIndexPageSystemNotice() {
                // 通知公告
                shared.ajaxPost(config.showIndexPageSystemNotice, {}, function (res) {
                    core.useTemplateAuto('systemData', res, {
                        getNew: function (data, index) {
                            // 判断时间
                            var startDate = data.sendTime;
                            var endDate = new Date();
                            var startD = new Date(Date.parse(startDate.replace(/-/g, "/")));
                            var days = parseInt((endDate.getTime() - startD.getTime()) / (1000 * 60 * 60 * 24));
                            if (days < 30) {
                                return 'new-bg';
                            } else {
                                return ''
                            }
                        },
                    });
                    core.useTemplateAuto('systemData1', res, {
                        getTop: function (data, index) {
                            if (data.isTop == '是') {
                                return 'display:block'
                            } else {
                                return 'display:none'
                            }
                        }
                    })
                    var speed = 20;  //数字越大文字滚动速度越慢
                    var tab = document.getElementById("demo");
                    var tab1 = document.getElementById("demo1");
                    var tab2 = document.getElementById("demo2");

                    tab2.innerHTML = tab1.innerHTML;
                    function Marquee() {
                        if (tab2.offsetWidth - tab.scrollLeft <= 0)
                            tab.scrollLeft -= tab1.offsetWidth
                        else {
                            tab.scrollLeft++;
                        }
                    }
                    MyMar = setInterval(Marquee, speed);
                    tab.onmouseover = function () { clearInterval(MyMar) };
                    tab.onmouseout = function () { MyMar = setInterval(Marquee, speed) };

                    var onOff = true;
                })
            }
            // shared.ajaxGet(config.getCNKIResource_Sort, {}, function (res) {
            //     getPartData('#fourPart1', 'fourPartData1', res['勘探技术']);
            //     getPartData('#fourPart2', 'fourPartData2', res['开发技术']);
            //     getPartData('#fourPart3', 'fourPartData3', res['工程技术']);
            //     getPartData('#fourPart4', 'fourPartData4', res['炼油技术']);

            // })
            // 四部分数据
            function getPartData(Id, temp, outTableName) {
                getFourData(outTableName, temp, $(Id + ' li').eq(0).attr('data-value'))
                $(Id + ' li').click(function (e) {
                    $(Id + ' li').each(function (index, item) {
                        if ($(e.target).index() == index) {
                            $(e.target).addClass('show')
                            getFourData(outTableName, temp, $(this).attr('data-value'))
                        } else {
                            $(item).removeClass('show')
                        }
                    })
                })
            }
            function getFourData(outTableName, temp, value) {
                shared.ajaxPost(config.getCNKIResource, { outTableName: outTableName, sort: value }, function (res) {
                    core.useTemplateAuto(temp, res, {
                        getData: function (data, index) {
                            return data.publishDate.split(' ')[0].replace('/', '-').replace('/', '-')
                        }
                    });
                })
            }
        })
        function goShowWord(data) {
            $('#searchGo').val($(data).text());
            goSearch();
        }
    </script>
</body>

</html>